home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #3
/
Amiga Plus CD - 1996 - No. 3.iso
/
pd
/
daten
/
everydayorganiser_v1.0
/
install_eo
< prev
next >
Wrap
Text File
|
1996-01-29
|
4KB
|
209 lines
; *** $VER: Install_EO V1.00 ***
; *** Copyright ©1996 by Mathew Wilson ***
(complete 0)
; *** Introduction ***
; get source root dir
(set path (pathonly @icon))
(welcome)
(message "\n"
"Everyday Organiser v1.0 ©1996 by Mathew Wilson\n\n"
"All the programs in this archive are\n"
"classified as FreeWare.\n\n"
"You *must* have at least MUI version 3.1 installed\n"
"to operate most of these programs!\n"
"---------------------------------------------------"
)
; ** Installation Preparation ***
(welcome)
(set destination
(askdir
(prompt "Where would you like the applications to be installed?\n(A new directory called EverydayOrganiser will be created there.)")
(help "This is where the EO programs will be copied to.\n\n"@askdir-help)
(default "SYS:Utilities")
)
)
(set root-dest destination)
(set @default-dest destination)
(set destination (tackon destination "EverydayOrganiser"))
(set @default-dest destination)
(copylib
(source "libs/everyday.library")
(dest "LIBS:")
)
(complete 10)
(copyfiles
(help @copyfiles-help)
(source "EverydayOrganiser/")
(dest destination)
(all)
(infos)
)
(copyfiles
(source "EverydayOrganiser.info")
(dest root-dest)
)
(complete 20)
(copyfiles
(help @copyfiles-help)
(source "rexx/")
(dest "REXX:")
(all)
)
(complete 30)
(if
(> @user-level 1)
(set choice (askbool
(help @askbool-help)
(prompt "Would you like Alarmist copied to your "
"SYS:WBStartup drawer?\n\nThis is recommended!")
(default 1))
)
(set choice 1)
)
(if
(= choice 1)
(copyfiles
(source "EverydayOrganiser/")
(dest "SYS:WBStartup/")
(choices "Alarmist" "Alarmist.info" "Alarmist_World.data")
(files)
)
)
(complete 40)
; ** Copy the AmigaGuides to the Locale:help/english drawer **
(if
(> @user-level 1)
(set choice (askbool
(help @askbool-help)
(prompt "Would you like the AmigaGuides for the main programs "
"copied to Locale:help?\n\nThis is recommended!")
(default 1))
)
(set choice 1)
)
(if
(= choice 1)
(copyfiles
(source "EverydayOrganiser/")
(dest "Locale:help/english")
(pattern "#?.guide")
(files)
)
)
(complete 50)
; ** Copy some of the extra programs to different places **
(set choice
(askoptions
(prompt "The extra programs are in the Extras drawer\n"
"but they should be copied to their normal drawers\n\n"
"Please choose which of the following to copy.")
(choices "TimePrefs (destination SYS:Prefs)" "Talk (destination C:)" "Sam (destination C:)" "Coder (destination C:)")
(help @askoptions-help)
)
)
; ** copy TimePrefs **
(if
(<> 0 (BITAND choice 1))
(
(copyfiles
(source "EverydayOrganiser/Extras/TimePrefs")
(dest "sys:prefs")
(infos)
)
(delete (tackon destination "Extras/TimePrefs"))
(delete (tackon destination "Extras/TimePrefs.info"))
)
)
(complete 60)
; ** copy Talk? **
(if
(<> 0 (BITAND choice 2))
(
(copyfiles
(source "EverydayOrganiser/Extras/Talk")
(dest "C:")
)
)
)
(complete 75)
; ** Copy Talk defaults file to s: **
(copyfiles
(source "EverydayOrganiser/Extras/Talk_Defaults")
(dest "s:")
)
; ** copy Sam? **
(if
(<> 0 (BITAND choice 4))
(
(copyfiles
(source "EverydayOrganiser/Extras/Sam")
(dest "C:")
)
)
)
(complete 85)
; ** copy Coder? **
(if
(<> 0 (BITAND choice 8))
(
(copyfiles
(source "EverydayOrganiser/Extras/Coder")
(dest "C:")
)
)
)
(complete 100)
(transcript "\nEveryday Organiser installed to "destination"\n")
; ** Let's annoy the user with the Intro doc :) **
(set intro_doc (tackon path "Introduction.guide"))
(run "sys:utilities/multiview" intro_doc (safe))
(exit "I hope you find Everyday Organiser useful.\n")